

from . import news_blu
from flask import session,render_template,current_app
@news_blu.route('/')
def index():
    session['name']='python01'
    return render_template('news/index.html')
@news_blu.route('/favicon.ico')
def favtion_image():
    return current_app.send_static_file('news/favicon.ico')